#ifndef COUNTER_H
#define COUNTER_H

#include <QObject>

class Counter : public QObject
{
    Q_OBJECT

    int m_value;

public:
    Counter(int value = 0);

signals:
    void valueChanged(int oldValue, int newValue, QString senderName);

public slots:
    void setValue(int value);
};

#endif // COUNTER_H
